projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccb5556
)
Slight cleanup in calc-yank
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 11 Aug 2020 16:46:34 +0000
(18:46 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 11 Aug 2020 19:04:12 +0000
(21:04 +0200)
* lisp/calc/calc-yank.el (calc-yank): Remove compat code.
lisp/calc/calc-yank.el
patch
|
blob
|
history
diff --git
a/lisp/calc/calc-yank.el
b/lisp/calc/calc-yank.el
index b119f149801384d5712eaece01c842b0fb0d4a84..690aaf2687f072539d03154bca1d1a422cca81b4 100644
(file)
--- a/
lisp/calc/calc-yank.el
+++ b/
lisp/calc/calc-yank.el
@@
-244,9
+244,7
@@
If RADIX is nil or if the yanked string already has a calc radix prefix, the
yanked string will be passed on directly to the Calculator buffer without any
alteration."
(interactive "P")
- (calc-yank-internal radix (if (fboundp 'current-kill)
- (current-kill 0 t)
- (car kill-ring-yank-pointer))))
+ (calc-yank-internal radix (current-kill 0 t)))
;;; The Calc set- and get-register commands are modified versions of functions
;;; in register.el